<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{{ block 'title' }}默认标题{{ /block }}</title>
    <link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.css">
    <link rel="stylesheet" href="/node_modules/editor.md/css/editormd.min.css">
    <link rel="stylesheet" href="/node_modules/editor.md/css/editormd.preview.css">
    <link rel="stylesheet" href="/public/css/setting.css">
    <link rel="stylesheet" href="/public/css/topic.css">
    <link rel="stylesheet" href="/node_modules/layui-src/dist/css/layui.css">
    {{ block 'head' }}{{ /block }}
</head>
<body>
    {{ include '../_partials/header.html' }}
    {{ block 'body' }}{{ /block }}
    {{ include '../_partials/footer.html' }}
    <script src="/node_modules/jquery/dist/jquery.js"></script>
    <script src="/node_modules/bootstrap/dist/js/bootstrap.js"></script>
    <script src="/public/js/jquery.validate.min.js"></script>
    <script src="/node_modules/editor.md/editormd.min.js"></script>
    <script src="/node_modules/editor.md/lib/marked.min.js"></script>
    <script src="/node_modules/editor.md/lib/prettify.min.js"></script>
    <script src="/node_modules/layui-src/dist/layui.js"></script>
    {{ block 'script' }}
    <script>
        $(function () {
            $('.list-tab li a').each(function () {
                $(this).click(function () {
                    $(this).addClass('active');
                    $(this).siblings().removeClass('active');
                })
            })
        })
    </script>
    {{ /block }}
</body>
</html>